package com.data.dao.impl;

import java.sql.Timestamp;

import com.data.dao.IPlayerDao;
import com.data.dao.base.GenericDao;
import com.data.model.RecordPropModify;

public class PlayerDaoImpl implements IPlayerDao{
	private GenericDao gDao;
	public GenericDao getgDao() {
		return gDao;
	}
	public void setgDao(GenericDao gDao) {
		this.gDao = gDao;
	}
	@Override
	public void savePropModifyRecord(RecordPropModify rpm) {
		rpm.setCreateTime(new Timestamp(System.currentTimeMillis()));
		gDao.getHibernateTemplate().save(rpm);
	}
}
